﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/Manager.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="Enterprise.UI.Web.Manage.WorkFlow.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript" src="../Common/js/global.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <Ent:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadTitleTxt="人员">
    </Ent:HeadMenuWebControls>
    <asp:GridView ID="GridView1" runat="server" DataKeyNames="WFID" AutoGenerateColumns="false"
        OnRowDataBound="GridView1_OnRowDataBound" OnRowCommand="GridView1_OnRowCommand">
        <Columns>
            <asp:TemplateField ItemStyle-Width="30">
                <ItemTemplate>
                    <img src="../Common/img/arrow_142.gif" alt="" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="名称" ItemStyle-HorizontalAlign="Left">
            <ItemTemplate>
            <a href="javascript:;" onClick="MOWindow('Detail.aspx?Id=<%#Eval("WFID") %>&qMID=0&qMby=0&qVID=0&qWin=&qCID=0&qFID=0');"><span style='font-weight:bold;'><%#Eval("WFNAME")%></span></a>
            </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="WFVERSION" HeaderText="版本" ItemStyle-Width="60" />
            <asp:BoundField DataField="WFREMARK" HeaderText="说明" />
            <asp:TemplateField ItemStyle-Width="60">
                <ItemTemplate>
                    <a href="Manage.aspx?Id=<%#Eval("WFID") %>&Cmd=Edit">修改</a>
                    <asp:LinkButton ID="LinkButton3" CommandName="mDelete" CommandArgument='<%#Container.DataItemIndex  %>'
                        OnClientClick="return confirm('确定要删除该流程？删除将无法恢复')" runat="server">删除</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
